package com.example.demo.design.responsibility;

public interface Processor {

    /**
     * Gets next processor.
     * 获得下一个执行者
     *
     * @return the next processor
     */
    Processor getNextProcessor();

    /**
     * Process.
     * 具体执行方法
     *
     * @param param the param
     */
    void process(String param);
}
